
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{wc:$webname}</title>
    <meta content="app-id=518966501" name="apple-itunes-app" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no, maximum-scale=1.0"/>
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="{G_TEMPLATES_IMAGE}/mobile/touch-icon.png" rel="apple-touch-icon-precomposed" />
    <link href="favicon.ico" rel="shortcut icon" />
    <link href="{G_TEMPLATES_CSS}/mobile/comm.css" rel="stylesheet" type="text/css" />
	<link href="{G_TEMPLATES_CSS}/mobile/index.css" rel="stylesheet" type="text/css" />
	<script src="{G_TEMPLATES_JS}/mobile/jquery190.js" language="javascript" type="text/javascript"></script>
	<script id="pageJS" data="{G_TEMPLATES_JS}/mobile/Index.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<div class="h5-1yyg-v1" id="loadingPicBlock">    

{wc:templates "mobile/index","header"}

<!-- 内页顶部 -->

    <input name="hidStartAt" type="hidden" id="hidStartAt" value="0" />
    <!-- 焦点图 -->
    <section id="sliderBox" class="hotimg"></section>
    <!-- 小导航 -->
    
	<section class="navautos">
	<div class="textnav2">
    </div>

		<div class="wrapnavautos">
				<div id="navautos1">
					<a href="{WEB_PATH}/mobile/mobile/glist"><img src="{G_TEMPLATES_IMAGE}/wap_img/nava1.png"></a>
				</div>
				<div class="textnavword">
				<p style="text-align:center;font-size: 14px;color:#bbb">全部商品</p>
				
				</div>
		</div>
		<div class="wrapnavautos">
				<div id="navautos2">
					<a href="{WEB_PATH}/mobile/shaidan/"><img src="{G_TEMPLATES_IMAGE}/wap_img/nava2.png"></a>
				</div>
				<div class="textnavword">
				<p style="text-align:center;font-size: 14px;color:#bbb">幸运晒单</p>
				
				</div>
		</div>
		<div class="wrapnavautos">
				<div id="navautos3">
					<a href="http://wpa.qq.com/msgrd?v=3&uin=10373458&site=oicqzone.com&menu=yes"><img src="{G_TEMPLATES_IMAGE}/wap_img/nava3.png"></a>
				</div>
				<div class="textnavword">
				<p style="text-align:center;font-size: 14px;color:#bbb;">联系客服</p>
				
				</div>
		</div>
		<div class="wrapnavautos">
				<div id="navautos4">
					<a href="{WEB_PATH}/mobile/home/userrecharge"><img src="{G_TEMPLATES_IMAGE}/wap_img/nava4.png"></a>
				</div>
				<div class="textnavword">
				<p style="text-align:center;font-size: 14px;color:#bbb">在线充值</p>
				
				</div>
		</div>
		
	</section>

<div class="textnav">  
</div>

    
    <!-- 最新揭晓 -->
    <section class="g-main">
	    <div class="m-tt1">
		    <h2 class="fl"><a href="{WEB_PATH}/mobile/mobile/lottery">最新揭晓</a></h2>
		    <div class="fr u-more">
			    <a href="{WEB_PATH}/mobile/mobile/lottery" class="u-rs-m1"><b class="z-arrow"></b></a>
		    </div>
	    </div>
	    <article class="h5-1yyg-w310 m-round m-lott-li" id="divLottery">
		    <ul class="clearfix">
		    {wc:loop $shopqishu $qishu}
            {wc:php:start}
            $qishu['q_user'] = unserialize($qishu['q_user']);
            {wc:php:end}
			        <li>
		                <a href="{WEB_PATH}/mobile/mobile/item/{wc:$qishu['id']}" class="u-lott-pic">
		                    <img src="{G_TEMPLATES_IMAGE}/wap_img/loading.gif" src2="{G_UPLOAD_PATH}/{wc:$qishu['thumb']}" border="0" alt="" />
		                </a>
		                <span>恭喜<a href="{WEB_PATH}/mobile/mobile/userindex/{wc:$qishu['q_uid']}" class="blue z-user">{wc:fun:get_user_name($qishu['q_uid'])}</a>获得</span>
			        </li>
		        
			   {wc:loop:end}     
		        
		    </ul>
	    </article>
    </section>
    <!-- 今日限时 -->
     <!--
    <section class="g-main">
	    <div class="m-tt1">
		    <h2 class="fl"><a href="{WEB_PATH}/mobile/autolottery">今日限时</a></h2>
		    <div class="fl z-tips">每天10点、15点、22点准时揭晓</div>
		    <div class="fr u-more">
			    <a href="{WEB_PATH}/mobile/autolottery/next" class="u-rs-m2"><b class="z-arrow"></b>明日限时</a>
		    </div>
	    </div>
	    <article id="autoLotteryBox" class="clearfix h5-1yyg-w310 m-round overflow">
	        <ul id="divTimerItems" class="slides">
			
			 {wc:php:start}
			   $count=count($jinri_shoplist);
			 {wc:php:end}    
			  {wc:if $count>1}
			   <div class="loading"><b></b>正在加载</div>
			  {wc:else}
			    {wc:if $count==0}
				<div id="divNone" class="haveNot z-minheight" style="display:block"><s></s><p>抱歉，今日没有发布限时揭晓商品！</p>
		      </div>
				{wc:if:end}
			  {wc:if:end}
			  
			 {wc:loop $jinri_shoplist $shop}
			 
            {wc:php:start}
            	$shop['time_H'] = abs(date("H",$shop['xsjx_time']));
				$sysj=$shop['xsjx_time']-time();
            {wc:php:end}         
            {wc:if time() > $shop['xsjx_time'] } 
			
			<li class="m-xs-li" txt="{wc:$shop['time_H']}点" codeid="{wc:$shop['id']}" uweb="{wc:fun:idjia($shop['q_uid'])}">
				<article class="clearfix m-xs-ct m-xs-End">
					<div class="u-xs-pic">
						<div class="z-xs-pic">
						<a href="{WEB_PATH}/mobile/mobile/item/{wc:$shop['id']}"><img src="{G_TEMPLATES_IMAGE}/wap_img/loading.gif" src2="{G_UPLOAD_PATH}/{wc:$shop['thumb']}" border=0 /></a>
						</div>
						<div class="z-xs-time"><b>已结束</b></div>
					</div>
					<div class="u-xs-con">
						<div class="clearfix u-xs-name">
						<a class="u-xs-name-img" href="{WEB_PATH}/mobile/mobile/userindex/{wc:$shop['q_uid']}">
					<img name="uImg" border="0" src2="{G_UPLOAD_PATH}/{wc:fun:get_user_key($shop['q_uid'],'img')}"/></a>
						<div class="u-xs-name-r"><p>恭喜<a name="uName" href="{WEB_PATH}/mobile/mobile/userindex/{wc:$shop['q_uid']}" class="z-user blue">{wc:fun:get_user_name($shop['q_uid'])}</a>获得</p><p>幸运{wc:fun:_cfg('web_name_two')}码：<em class="orange">{wc:$shop['q_user_code']}</em></p><p>总共{wc:fun:_cfg('web_name_two')}：<em class="orange">{wc:$user_shop_number[$shop['q_uid']][$shop['id']]}</em>人次</p></div></div><ins class="z-promo">价值:<em class="arial">￥{wc:$shop['money']}</em></ins>
						<div class="Progress-bar"><p class="u-progress" title="已完成{wc:fun:width($shop['canyurenshu'],$shop['zongrenshu'],100)}%">
							<span class="pgbar" style="width:{wc:fun:width($shop['canyurenshu'],$shop['zongrenshu'],100)}%;">
							   <span class="pging"></span>
							</span></p>
							<ul class="Pro-bar-li">
								<li class="P-bar01"><em>{wc:$shop['canyurenshu']}</em>已参与</li>
								<li class="P-bar02"><em>{wc:$shop['zongrenshu']}</em>总需人次</li>
								<li class="P-bar03"><em>{wc:$shop['zongrenshu']-$shop['canyurenshu']}</em>剩余</li>
							</ul>
						</div>
					</div>
				</article>
			</li>
			 {wc:else}
			<li class="m-xs-li" txt="{wc:$shop['time_H']}点" codeid="{wc:$shop['id']}" >
			  <article class="clearfix m-xs-ct ">
			      <div class="u-xs-pic">
				       <div class="z-xs-pic">
			             <a href="{WEB_PATH}/mobile/mobile/item/{wc:$shop['id']}"><img src="{G_TEMPLATES_IMAGE}/wap_img/loading.gif" src2="{G_UPLOAD_PATH}/{wc:$shop['thumb']}" border=0 /></a>
			          </div>			         				 
					  <div name="timerItem" class="z-xs-time" time="{wc:$sysj}"><em>00</em>时<em>00</em>分<em>00</em>秒<s class="z-aw-tblr"></s>
				      </div>
				  </div>
				  <div class="u-xs-con">
				      <a href="{WEB_PATH}/mobile/mobile/item/{wc:$shop['id']}" class="gray6 z-tt">(第{wc:$shop['qishu']}期){wc:$shop['title']}</a>
				      <ins class="z-promo">价值:<em class="arial">￥{wc:$shop['money']}</em></ins>
				      <div class="Progress-bar"><p class="u-progress" title="已完成{wc:fun:width($shop['canyurenshu'],$shop['zongrenshu'],100)}%"><span class="pgbar" style="width:{wc:fun:width($shop['canyurenshu'],$shop['zongrenshu'],100)}%;"><span class="pging"></span></span></p>
					    <ul class="Pro-bar-li">
					     <li class="P-bar01"><em>{wc:$shop['canyurenshu']}</em>已参与</li>
						 <li class="P-bar02"><em>{wc:$shop['zongrenshu']}</em>总需人次</li>
						 <li class="P-bar03"><em>{wc:$shop['zongrenshu']-$shop['canyurenshu']}</em>剩余</li>
						</ul>
					   </div>
				  </div>
				 </article>
			</li>
			{wc:if:end}
            {wc:loop:end}
			
			
		 </ul>
	        
	    </article>
    </section>
    -->
    <!-- 热门推荐 -->
    <section class="g-main">
	    <div class="m-tt1">
		    <h2 class="fl"><a href="{WEB_PATH}/mobile/mobile/glist">热门推荐</a></h2>
		    <div class="fr u-more">
			    <a href="{WEB_PATH}/mobile/mobile/glist" class="u-rs-m1"><b class="z-arrow"></b></a>
		    </div>
	    </div>
	    <article class="clearfix h5-1yyg-w310 m-round m-tj-li">
		    <ul id="ulRecommend">
		        {wc:loop $shoplistrenqi $renqi}
			        <li id="{wc:$renqi['id']}">
			            <div class="f_bor_tr">
			                <div class="m-tj-pic">
			                    <a href="{WEB_PATH}/mobile/mobile/item/{wc:$renqi['id']}" class="u-lott-pic">
			                        <img src="{G_TEMPLATES_IMAGE}/wap_img/loading.gif" src2="{G_UPLOAD_PATH}/{wc:$renqi['thumb']}" border=0 alt="" />
			                    </a>
			                    <ins class="u-promo">价值:￥{wc:$renqi['money']}</ins>
			                </div>
			                <div class="Progress-bar">
								<p class="u-progress" title="已完成{wc:fun:percent($renqi['canyurenshu'],$renqi['zongrenshu'])}">
								<span class="pgbar" style="width:{wc:$renqi['canyurenshu']/$renqi['zongrenshu']*100}%;">
								<span class="pging"></span>
								</span>
								</p>
								<ul class="Pro-bar-li">
									<li class="P-bar01"><em>{wc:$renqi['canyurenshu']}</em>已参与</li>
									<li class="P-bar02"><em>{wc:$renqi['zongrenshu']}</em>总需人次</li>
									<li class="P-bar03"><em>{wc:$renqi['zongrenshu']-$renqi['canyurenshu']}</em>剩余</li>
								</ul>
							</div>
			            </div>
                    </li>
                {wc:loop:end}
		    </ul>
	    </article>
    </section>
    

{wc:templates "mobile/index","footer"}
<script language="javascript" type="text/javascript">
  var Path = new Object();
  Path.Skin="{G_TEMPLATES_STYLE}";  
  Path.Webpath = "{WEB_PATH}";
  
    var Base = {
        head: document.getElementsByTagName("head")[0] || document.documentElement,
        Myload: function(B, A) {
            this.done = false;
            B.onload = B.onreadystatechange = function() {
                if (!this.done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) {
                    this.done = true;
                    A();
                    B.onload = B.onreadystatechange = null;
                    if (this.head && B.parentNode) {
                        this.head.removeChild(B)
                    }
                }
            }
        },
        getScript: function(A, C) {
            var B = function() {};
            if (C != undefined) {
                B = C
            }
            var D = document.createElement("script");
            D.setAttribute("language", "javascript");
            D.setAttribute("type", "text/javascript");
            D.setAttribute("src", A);
            this.head.appendChild(D);
            this.Myload(D, B)
        },
        getStyle: function(A, B) {
            var B = function() {};
            if (callBack != undefined) {
                B = callBack
            }
            var C = document.createElement("link");
            C.setAttribute("type", "text/css");
            C.setAttribute("rel", "stylesheet");
            C.setAttribute("href", A);
            this.head.appendChild(C);
            this.Myload(C, B)
        }
    }
    function GetVerNum() {
        var D = new Date();
        return D.getFullYear().toString().substring(2, 4) + '.' + (D.getMonth() + 1) + '.' + D.getDate() + '.' + D.getHours() + '.' + (D.getMinutes() < 10 ? '0': D.getMinutes().toString().substring(0, 1))
    }
    Base.getScript('{G_TEMPLATES_JS}/mobile/Bottom.js?v=' + GetVerNum());
</script>

</div>
</body>
</html>
